<?php if ($qas) { ?>
<ul>
<?php foreach ($qas as $qa) { ?>
	<li>
    	<p><?php echo $qa['author']; ?></p>
        <table cellpadding="0" cellspacing="0" width="85%">
        	<tbody><tr>
            	<th width="10%" valign="top">[Question]
            	</th><td width="90%"><?php echo $qa['text']; ?></td>
            </tr>
        	<tr>
            	<th valign="top">[Answer]
            	</th><td><?php echo $qa['answer']; ?></td>
            </tr>
        </tbody></table>
    </li>
<?php } ?>
</ul>
<div class="pagination"><?php echo $pagination; ?></div>
<?php } else { ?>
<div class="content"><?php echo $text_no_qas; ?></div>
<?php } ?>
